From: Richard M. Stallman Date: Tue, 29 Jun 1993 16:53:32 +0000 (+0000) Subject: (wait_reading_process_input): Use SIGIO only if defined. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95145 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7324d660df348536d3a58c060f311c5b12648acd;p=emacs.git (wait_reading_process_input): Use SIGIO only if defined. --- diff --git a/src/process.c b/src/process.c index 4c2fa5d7c00..95d6846f9a3 100644 --- a/src/process.c +++ b/src/process.c @@ -3190,8 +3190,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) /* System sometimes fails to deliver SIGIO. */ kill (getpid (), SIGIO); #endif +#ifdef SIGIO if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) kill (0, SIGIO); +#endif /* If we have timed out (nfds == 0) or found some input (nfds > 0), we should exit. */